package com.lemontree.spring3.day01;

public class Cook {
    private Cat cat;

    public Cook() {
    }

    public Cook(Cat cat) {
        this.cat = cat;
    }

    public void eat(){
        System.out.println("eat cook");
    }

    public Cat getCat() {
        return cat;
    }

    public void setCat(Cat cat) {
        this.cat = cat;
    }
}
